package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.PurchaseStatus;

public class AdminPurchase {
    private Long id;

    private String purchaseCode;

    private String wdtPurchaseCode;

    private Long supplierId;

    private String contractCode;

    private BigDecimal arriveAmount;

    private BigDecimal inStockAmount;

    private BigDecimal inStockPrice;

    private Date preArriveDate;

    private Date inStockTime;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private String remark;

    private DataStatus status;

    private PurchaseStatus purchaseStatus;

    public List<AdminPurchaseDetail> getPurchaseDetail() {
		return purchaseDetail;
	}

	public void setPurchaseDetail(List<AdminPurchaseDetail> purchaseDetail) {
		this.purchaseDetail = purchaseDetail;
	}

	public AdminSupplier getSupplier() {
		return supplier;
	}

	public void setSupplier(AdminSupplier supplier) {
		this.supplier = supplier;
	}

	public AdminContract getContract() {
		return contract;
	}

	public void setContract(AdminContract contract) {
		this.contract = contract;
	}

	private String expressCompany;

    private String logisticsCode;
private List<AdminPurchaseDetail> purchaseDetail ;
    
    private AdminSupplier supplier ;
    private AdminContract contract ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPurchaseCode() {
        return purchaseCode;
    }

    public void setPurchaseCode(String purchaseCode) {
        this.purchaseCode = purchaseCode == null ? null : purchaseCode.trim();
    }

    public String getWdtPurchaseCode() {
        return wdtPurchaseCode;
    }

    public void setWdtPurchaseCode(String wdtPurchaseCode) {
        this.wdtPurchaseCode = wdtPurchaseCode == null ? null : wdtPurchaseCode.trim();
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode == null ? null : contractCode.trim();
    }

    public BigDecimal getArriveAmount() {
        return arriveAmount;
    }

    public void setArriveAmount(BigDecimal arriveAmount) {
        this.arriveAmount = arriveAmount;
    }

    public BigDecimal getInStockAmount() {
        return inStockAmount;
    }

    public void setInStockAmount(BigDecimal inStockAmount) {
        this.inStockAmount = inStockAmount;
    }

    public BigDecimal getInStockPrice() {
        return inStockPrice;
    }

    public void setInStockPrice(BigDecimal inStockPrice) {
        this.inStockPrice = inStockPrice;
    }

    public Date getPreArriveDate() {
        return preArriveDate;
    }

    public void setPreArriveDate(Date preArriveDate) {
        this.preArriveDate = preArriveDate;
    }

    public Date getInStockTime() {
        return inStockTime;
    }

    public void setInStockTime(Date inStockTime) {
        this.inStockTime = inStockTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public DataStatus getStatus() {
        return status;
    }

    public void setStatus(DataStatus status) {
        this.status =status;
    }

    public PurchaseStatus getPurchaseStatus() {
        return purchaseStatus;
    }

    public void setPurchaseStatus(PurchaseStatus purchaseStatus) {
        this.purchaseStatus = purchaseStatus ;
    }

    public String getExpressCompany() {
        return expressCompany;
    }

    public void setExpressCompany(String expressCompany) {
        this.expressCompany = expressCompany == null ? null : expressCompany.trim();
    }

    public String getLogisticsCode() {
        return logisticsCode;
    }

    public void setLogisticsCode(String logisticsCode) {
        this.logisticsCode = logisticsCode == null ? null : logisticsCode.trim();
    }
}